Continuous overlapping frequency measurement

ABSTRACT

Method and apparatus for frequency measurement of an undulating signal with a time varying frequency. A sequence of consecutive time intervals T 1 , T 2 , T 3 , T 4 , T 5 , etc. is determined, and the sum ##EQU1## of times of completion of cycles of the undulating signal within the time interval T p  is determined for p=1,2,3,4,5, etc. The differences T 1 , T 2 , T 3 , T 4 , T 5 , etc. are then used to determine an average frequency within the combined time interval pairs {T 1 ,T 3  }, {T 2 , T 4  }, {T 3 , T 5  }, etc.

DESCRIPTION Technical Field

This invention relates to frequency measurements on a signal with a time varying frequency.

BACKGROUND OF THE INVENTION

Measurements of signal frequency based upon a cycle counter divide an integer number of input signal cycles by the time interval required to complete those cycles. Although the number of input cycles is exactly known, measuring the start and stop times of the interval itself includes errors from sources such as noise, non-linearity and quantization, which limit the precision of the results. In using a traditional reciprocal counter for frequency measurement, a time interval including precisely N signal cycles is begun and ended, and the start time is subtracted from the stop time to obtain the time interval length for frequency determination. These time interval start/stop measurements can be extended over many signal cycles in order to obtain a high precision average signal frequency value, which is allowed to vary with time. FIG. 1 illustrates this approach, which requires a relatively long time interval to obtain a single sample.

In another approach, sometimes called bicentroid measurement, a time interval is divided into three sub-intervals, each having approximately the same length. Event numbers, corresponding to events such as zero crossings of the signal, are measured for the first and third of these three intervals, with the second (intervening) time interval being used for instrument recovery or other purposes. The event numbers measured for the first and third of these intervals are then used to obtain an average frequency that represents the signal frequency in these time intervals, collectively. FIG. 2 illustrates the approach here.

One shortcoming of this approach is that the entire set of raw data or frequency measurements must be stored in memory, after which the microprocessor slowly post-processes the data one total time interval at a time. Another shortcoming is that, by the time the microprocessor has post-processed the data to obtain the frequency, time's moving hand has moved on and the frequency measurements are no longer current. Further, the individual frequency measurements are taken with respect to time intervals that are not contiguous to one another. Substantial, and possibly discontinuous, changes in frequency may occur in the intervening time intervals T₂. Further, the measurement rate is very low because the length of the time gap between one pair of time intervals T₁ /T₃ and another similar pair is large compared to the nominal length of T₁ or T₃.

Several workers have disclosed other approaches to frequency measurement of undulating signals. Chu and Ward, in U.S. Pat. No. 4,519,091, disclose a non-interruptible counter for data capture in which an N-bit counter is arranged as an M-bit, fast, synchronous counter plus an (N-M)-bit, slower, ripple-through counter. The M-bit counter receives the M least significant bits, the (N-M)-bit counter receives the N-M most significant bits, and ripple through of a carry bit occurs slowly only in the latter counter. Each counter has an associated storage device, of size M bits and N-M bits, and entry of data into a storage device is time delayed by a predetermined amount to take account of non-zero bit settling time. First and second parallel counters may be used to count (1) the number of occurrences Δn of an event and (2) the length Δt of the measurement time interval during which these occurrences are sensed, within a predetermined time interval, and the frequency of occurrences within the measurement time interval is defined as Δn/Δt.

U.S. Pat. No. 4,541,105, issued to Lee et al., discloses receipt of a sample input signal, a reference input signal F_(R) and a sensor input signal F_(s) by a counter for frequency sampling purposes. The (low frequency) sample input signal defines a sequence of successive sampling intervals, within which the number of occurrences n_(s) and n_(R) of F_(s) and F_(R), respectively, at a predetermined level are counted. The reference signal F_(R) might be a sequence of clock pulses of frequency much higher than the nominal frequency of F_(s). The frequency of occurrence of the given level of F_(s) is determined by reference to a ratio of n_(s) and n_(R) within each sample interval.

In U.S. Pat. No. 4,786,861, Hulsing and Lee disclose frequency counting apparatus with fractional count capability, using sampling time intervals and sensor signal occurrences that are determined in a manner similar to the occurrences in the Lee et al. patent discussed above. The number of signal cycles C_(n) sensed in the nth time interval consists of an integer part and a fractional part and is defined by

    C.sub.n =C.sub.n-1 -Δf.sub.n-1 +Δf.sub.n,

where f_(n) is the fractional cycle associated with the nth sampling time interval.

Frederich, in U.S. Pat. No. 4,800,508, discloses frequency measurement apparatus in which the beginning of a sampling interval is synchronized with occurrence of an undulating signal pulse level that is to be counted. The end of a sampling interval appears to be determined by the last occurrence of the given level of the undulating signal within a nominal time interval.

What is needed here is a method of frequency measurement that provides controllably high temporal resolution and takes account of the changes with time of the signal frequency that is extant in a given short time interval. Preferably, the approach should allow frequency measurements with little or no "dead time", should require little or no memory for the raw data received, and should allow for prompt, post-processing so that an average frequency in a given time interval can be displayed shortly after the individual frequency measurements are made.

SUMMARY OF THE INVENTION

These needs are met by a method that allows determination of approximate value of the frequency of an undulating signal whose frequency may vary slowly with time. The method provides clock means that forms a periodic signal and issues an output signal that indicates the time at which each signal cycle of this periodic signal is completed. The method also includes the step of receiving a first plurality of N·n consecutive cycles, numbered i=1,2, . . . , N·n, in a time interval T₁ of the undulating signal, where N and n are predetermined positive integers, determining from the clock signal the time at which the ith cycle of the signal is completed for i=k·n (k=1,2 , . . . , N), and forming the sum of time values ##EQU2## After a predetermined time delay Δt, another plurality of N·n consecutive cycles numbered j=1, 2, . . . , N·n, is received in a second time interval T₃, of the undulating signal, the time t'j at which the jth cycle of the signal is completed is determined for j=1·N (1=1,2, . . . , N), and the sum of time values ##EQU3## is formed. The number n need not be constant but may vary from one plurality of cycles to another. For each time t_(k)·n in the first plurality of cycles and each time t'₁·n in the other plurality of cycles, the corresponding cumulative number of cycle completions M_(k)·n and M'₁·n are determined. An average frequency value f₃₁ for the two time intervals T₁ and T₃ is then defined by the relation ##EQU4## These computations are made for a plurality of pairs of overlapping time intervals {T₁,T₃ },{T₂,T₄ },{T₃,T₅ }, etc., as indicated in FIG. 4.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 and 2 are schematic views of determination of average frequency according to methods in the prior art.

FIG. 3 illustrates apparatus useful in determining average frequency of an undulating signal according to the invention.

FIG. 4 illustrates the respective positions of the time latch output pulses t_(c) and the undulating signal event latch output pulses t_(s) that are produced by the apparatus shown in FIGS. 2 and 3.

FIG. 5 is a schematic view of serial movement of (event) register contents between two registers in another embodiment of the invention related to the FIG. 2 embodiment.

FIG. 6 illustrates the joint operations of the event latch and the time latch, shown in FIG. 2, to produce the event latch and time latch output signals.

FIGS. 7 and 8 illustrate two methods of time interpolation that may be used in an embodiment of the invention.

FIG. 9 illustrates the overflow avoidance procedure used with the event and time counters.

BEST MODE FOR CARRYING OUT THE INVENTION

With reference to FIG. 3, an undulating signal of possibly variable frequency is carried on a first input line 11A and is received by an event counter 13A that counts the number of occurrences of a given level or other event in the signal S, for example, the number of zero crossings with a negative-to-positive transition. The counter 13A is a continuous measurement counter that is not cleared or reset, except possibly through number overflow control. Overflow is controlled or avoided by providing an overflow avoidance ("OA") module 15A, discussed below, that receives the most significant bit ("MSB") of the number contained in the counter 11A on an OA module input line 17A and issues a reset command for this MSB on an OA module output line 19A, received by the event counter 13A. An event counter output line 21A carries the count to a first event register 23A that receives and temporarily holds an event count value therein.

The first event register 23A receives a synchronized arming signal from a synchronized event arming module 25A on an arming output line 27A. If the first event register 23A is not enabled by receipt of an arming signal from the arming module 25A, the present event count signal is ignored and not received by the event register 23A. If the first event register 23A is enabled by receipt of an arming signal, the present event count signal M_(i) is received from the event counter 13A and is issued from time to time on an event register output line 29A as each new event count signal is received by the first event register 23A. The arming module 25A receives an arming input signal on an arming input line 26A and receives the undulating signal itself on the input line 11A. Both of these signals must be present before the arming module 25A issues an arming signal to enable or activate the first event register 23A.

The event count signal carried on the first event register output line 29A is received at a first input terminal of a two-input event sum module 31A, with a second signal being received at a second input terminal of the event sum module 31A. The sum of these two input signals is formed and issued at an output terminal of the sum module 31A. This sum represents a cumulative sum of the preceding event count signals ##EQU5## received at each enablement of the first event register 23A by the arming module 25A. The number of events that occur between two consecutive arming signals issued on the line 27A (a sampling interval) can be a constant m, where m=1,2,3 , . . . is a predetermined positive integer, or the number m can vary from one sampling interval to the next. An event sum output line 33A delivers the output signal S_(K) from the event sum module 31A to a second event register 35A at an input terminal thereof. The contents of the second event register 35A are issued on a second event register output line 37A and are received by the second input terminal of the event sum module 31A. The first event register output signal, representing the sum S_(K) of event numbers (occurrences of the predetermined "event") for each enablement of the first event register 23A, is also received by an input terminal of an event count-controlled switch 39A that is normally in the open position, as shown in FIG. 3. A sample counter 41A receives and counts each arming signal issued on the output line 27A by the arming module 25A. When the sample count ##EQU6## contained in the sample counter 41A reaches a predetermined positive integer N, (1) the sample counter 41A issues a switch control signal on an event count output control line 42A that briefly closes the event switch 39A, (2) which allows the accumulated event count signal S_(K) in the first event register to flow through the switch 39A to an event count transport line 43A, and (3) the second event register 35A is then cleared and its contents are re-initialized to zero event count. The event switch 39A then re-opens for another N event count. The event switch 39A, and similarly the time switch 39B discussed below, need not be a physical switch. These switches may be gates that allow passage of the contents of the appropriate event register 35A and 35B whenever the sample count in the sample counter 41A reaches a predetermined number.

The event count register output signal S_(K-1) carried on the event count transport line 43A is received by a third event register 45A and temporarily held therein. A fourth event register 47A holds a fourth cumulative event count S_(K-2) therein. The event count numbers S_(K), S_(K-1) AND S_(K-2) held in the second, third and fourth event count registers 35A, 45A and 47A, respectively, are the event counts accumulated in the current block of time, the immediately preceding ("second") block of time, and the block of time that immediately precedes this "second" block of time. Each of the event count numbers S_(K), S_(K-1) and S_(K-2) is a sum of event count numbers, as indicated above.

Two alternative embodiments are available here. In a first embodiment, shown in FIG. 3, the second and third event registers 45A and 47A are arranged in pipeline fashion so that the event counts S_(K) and S_(K-2) contained in the second and fourth event registers 35A and 47A refer to cumulative event counts in non-contiguous time blocks or time intervals, such as T₁ and T₃ in FIG. 4. A two-input difference module 51A receives the event count signal S_(K) on the event transport line 43A at its positive input terminal, and receives the event count output signal S_(K-2) on an event register output line 49A from the fourth event register 47A at its negative input terminal. The difference module 51A then forms and issues an event count difference signal S_(K) -S_(K-2) on an event count difference output line 53A.

In a second arrangement of the event registers 45A and 47A, illustrated schematically in FIG. 5, the third and fourth event registers 45A and 47A contain the event counts S_(K-1) and S_(K-2), respectively, and are positioned in tandem. The third event register has just received the event count S_(K-1) from the event count transport line 43A. The two event registers 45A and 47A then receive the switch control signal on the control line 42A, and the contents of these two event registers are exchanged. Now, event register 45A contains the event count S_(K-2) and the event register 47A contains the event count S_(K-1). The output terminal on the third event register 45A is then activated, and the output signal S_(K-2) appears on the event register output line 49A and is received at the negative input terminal of the difference module 51A. The difference module 51A receives the event count signal S_(K) on the event count transport line 43A and forms and issues the event count difference signal S_(K) -S_(K-2) on the event count difference output line 53A as with the first embodiment.

In a similar manner, a time counter 13B receives a sequence of periodic clock pulses on a time input line 11B. The time counter 13B, overflow avoidance module 15B, first time register 23B, synchronous arming module 25B, time sum module 31B, second time register 35B, time switch 39B, third time register 45B, fourth time register 47B and time difference module 51B operate together in a manner similar to operation of the event counter 13A, overflow avoidance module 15A, first event register 23A, synchronous arming module 25A, event sum module 31A, second event register 35A, event switch 39A, third event register 45A, fourth event register 47B and event difference module 51A, respectively, with the following differences. First, the synchronous arming module 25B receives as its arming signal the arming module (25A) output signal produced on output line 27A and receives the clock input signal on line 11B at its second input terminal. Second, the time switch 39B is opened and closed at times corresponding to the times the event switch 39A is opened and closed, respectively, rather than by the time count present in any time sample counter. Third, the contents of the second time register 35B are re-initialized whenever the time switch 39B is closed.

A number of undulating signal occurrences in each of a sequence of non-overlapping, consecutive time intervals T₁, T₂, T₃, T₄, T₅, T₆, T₇, etc., are shown in FIG. 4. The second and fourth event registers 35A and 47A contain the cumulative number of undulating signal events, denoted S_(K) and S_(K-2), respectively, sensed by the counter 11A in FIG. 3 for the third (in time) and first (in time) blocks or time intervals T₃ and T₁, respectively, of FIG. 4.

The event difference module output signal, carried on output line 53A in FIG. 3, is thus ΔS₃₁ =S₃ -S₁ or S₄ -S₂, or S₅ -S₃, or S₆ -S₄, or S₇ -S₅, or . . . for two non-contiguous time intervals as shown in FIG. 4. In an analogous manner, the second and fourth time register modules 35B and 47B contain the respective sums ##EQU7## of times contained in the time intervals T₃ and T₁ that correspond to sampling of an undulating signal event in these respective time intervals. The time difference module output signal, carried on output line 53B in FIG. 2, is thus ##EQU8## A ratio-forming module 55 receives the two signals ΔS and Δτ and forms and issues a ratio output signal ##EQU9## on a ratio module output line 57. More generally, the ratio ##EQU10## is formed by the ratio-forming module 55 and issued on the output line 57.

Each of the ratios r₃₁, r₄₂, r₅₃, etc. has the units of (time)⁻¹ and is treated as an average undulating signal frequency in the combined time interval pairs {T₁,T₃ }, {T₂,T₄ }, {T₃ ,T₅ }, etc. These average frequencies r₃₁, r₄₂, r₅₃, etc. may vary from one time interval pair to another. If the cycle-to-cycle frequency variations were monitored, corresponding to N=1 for the switches 39A and 39B, the variations would likely be relatively large compared to a nominal or representative value of the undulating signal frequency.

Measuring a varying frequency involves a compromise between measurement rate and measurement precision. Following more rapid frequency variations requires a faster measurement rate, but obtaining more precision requires a slower measurement rate. This invention allows both precision and measurement rate to be optimized to an extent not previously attainable. The precision and rate of the new method are compared to a traditional reciprocal frequency counter method below. A traditional interpolating reciprocal frequency counter measurement, such as that illustrated in FIG. 1 or FIG. 2, can be expressed mathematically as: ##EQU11## The numerator is an exact integer--there is no error in measuring events. However, each time measurement t_(K) appearing in the denominator has some associated random error due to measurement noise and nonlinearity. Assuming independent identically distributed errors, the mean error will cancel due to the subtraction, and the variances in the denominator will add, so that the standard deviation of the difference of the two times in the denominator will be √2times the standard deviation σ_(t) of one sample. Since the errors are a very small fraction of the time interval Δt_(K) =t_(K) -t_(K-1), the fractional frequency precision will be very close to the fractional time interval precision (higher order terms are negligible). This fractional precision is therefore ##EQU12## For a given value of σ_(t), the only way to improve the pre- of this type of measurement is to measure more slowly--increase the value of Δt_(K).

With the technique disclosed here, individual samples are effectively replaced by sums of samples, and the measurement time intervals are effectively twice as long but overlapped: ##EQU13## The numerator is still an exact integer, the mean error still cancels due to subtraction, variances still add, and the fractional errors are still very small (allowing higher order terms to be neglected). But now there are 2N time samples, each with variance σ_(t) and N time intervals in the denominator. Therefore the fractional precision is: ##EQU14## It can be seen that this provides improved precision, for a given standard deviation σ_(t) and nominal time interval Δt_(K), than does a traditional reciprocal counter method, even for N=1. As N is increased, the measurement precision improves rapidly. Thus, it provides better precision for the same measurement rate, or faster measurement rate for the same precision, than previous methods.

The arming module output signal received by the event register 23A will generally precede the arming module output signal received by the time register 23B by a variable amount of time Δt_(sc1). FIG. 6 illustrates a sequence of periodic clock pulse timing marks t_(c) and a sequence of not-necessarily-periodic event timing marks t_(s), referenced to the same time base t. Assume that an arming signal has been received by the arming module 25A on the arming signal input line 26A at some time before receipt of the event timing mark designated t_(s1) in FIG. 6. Upon receipt of the event time mark t_(s1), the event arming module 25A will issue an event arming signal on the arming module output line 27A, which signal will be received by the first event register 23A and by the time arming module 25B. The first event register 23A will immediately issue the current event count signal M_(i) (i=K+1) on the event register output line 29A, and the signal M_(i) will be received by the event sum module 31A and added to the cumulative event count sum S_(K).

The time arming module 25B will not issue a time arming signal on the arming module output line 27B until this arming module has also received the next clock pulse timing mark t_(cl). The clock pulse timing mark t_(c1) occurs at a time t=t_(s1) +Δt_(sc1) as illustrated in FIG. 6, and at the time t=t_(c1) the time register 23B immediately issues the current time count signal (t≅t_(c1)) on the time register output line 29B. This current time count signal is received by the time sum module 31B and added to the cumulative time count Σt_(i). The current time count signal received by the time sum module 31B has a value t=t_(cl) that is greater by the amount Δt_(sc1) than the time t=t_(s1) at which the corresponding event number M_(i) (i=K+1) is issued. The variable time delay amount Δt_(sc1) ranges from 0 to Δt_(cp), where Δt_(cp) is the constant period of the sequence of clock pulses.

This time delay Δt_(sc1) may be accounted for by an optional time interpolation sub-module (not shown separately) contained in, or associated with, the first time register 23B. The time register 23B will receive the event arming module output signal on an optional line 27A' from the event arming module 25A and will determine the time delay Δt≈Δt_(sc1) between receipt of this output signal and receipt of the time arming module output signal on the output line 27B. This time delay amount Δt≈Δt_(sc1) will be subtracted from the time t=t_(cl) received by the time register 23B from the time counter 13B. The time interpolation amount Δt≈Δt_(sc1) can be determined by any of a number of methods that are well known in the art: (1) use of a tapped delay line 61 for the clock pulse signal timing mark sequence relative to a signal transport line 63 for the sequence of event timing marks, as illustrated in FIG. 7; or (2) measurement of accumulated charge from a constant current source 65 that feeds a capacitor 67 through a switch 69 that is closed by receipt of the event timing mark at time t=t_(s1) and is subsequently opened by receipt of the clock pulse timing mark at time t=t_(c1), as illustrated in FIG. 8. Other time interpolation methods may also be used to determine or estimate the time delay amount Δt_(sc1).

As the counter 13A (or 13B) in FIG. 3 counts upward, it eventually reaches its maximum value 111 . . . 11. Receipt of one additional count will cause the counter to make a transition to 000 . . . 00, through the usual carry operation. The overflow avoidance module 15A (or 15B) checks the MSB of the counter 13A (or 13B) between two consecutive time intervals. If the MSB of the count value has the value one (1) at that time, the MSB is cleared to zero (0) so that counter overflow does not occur during the next time interval. The effective maximum event count (or time count) is thus always less than the maximum count the counter is able to record. The bits of lower significance (other than the MSB) of the counter are not affected so that continuous, overlapped event or time measurement proceeds as before. By clearing or resetting the MSB, the MSB value is effectively subtracted from all future latched values in the first event register 13A or time register 13B. Between two consecutive times at which the event switch 39A is closed, N events occur so that the value of the signal transferred on the event register output line 37A (or 37B) when the switch 39A (or 39B) is closed is effectively reduced by a value N_(c) equal to N times the MSB value of the corresponding counter 13A (or 13B). In order to correct the signal values held on the signal transport line 43A (or 43B), in the third register 45A (or 45B), and in the fourth register 47A (or 47B), this value N_(c) should be subtracted from each of the past sums of event numbers (or time numbers). The overflow avoidance modules 15A and 15B for the event counter 13A and time counter 13B, respectively, operate independently. FIG. 9 schematically illustrates operation of the overflow avoidance procedure for the event numbers M_(i) and their sums S_(K-1) and S_(K).

The first event register 13A and first time register 13B in FIG. 3 are each 28 bits in length in a preferred embodiment. The event registers 35A, 45A and 47A and the time registers 35B, 45B and 47B each contain a sum of event count numbers and may have greater bit lengths, such as 56.

As noted above, the two non-contiguous sequences of pulses denoted T₁ and T₃ in FIG. 2 are used for undulating signal event counting in the prior art. In the invention disclosed and claimed herein, undulating signal events are counted for pairs of non-contiguous time intervals {T₁,T₃ }, {T₂,T₄ },{T₃,T₅),{T₄,T₆ },{T₅,T₇ }, etc., as illustrated in FIG. 4, but two consecutive pairs of such time intervals overlap so that an entire corrected time interval such as T₁ ∪ T₂ ∪ T₃ ∪ T₄ ∪ T₅ ∪ T₆ ∪ T₇ is covered by the event sampling. This latter approach has at least two advantages. First, the number of undulating signal events thus sampled is much larger and includes events in all portions of a larger time interval. Second, because the number of sampled signal events is increased (by a factor much greater than two), aliasing in the frequency domain is substantially reduced. 

I claim:
 1. A method for determining frequency of an undulating signal whose frequency may vary with time, the method comprising the steps of:providing clock means having an output terminal, for forming a periodic clock signal that executes a plurality of substantially identical consecutive signal cycles and for issuing at the output terminal a clock signal that indicates the time at which each signal cycle of the periodic signal is completed; receiving a first plurality of N·M consecutive cycles, numbered i=1,2, . . . , N·m, of the undulating signal, where N and m are predetermined positive integers, determining from the clock signal the time t_(i) at which the i^(th) cycle of the undulating signal is completed, and forming the sums ##EQU15## representing the sum of the number of signal cycles and the sum of the times at which the signal cycles were completed, respectively, for the first plurality of cycles; receiving a second plurality of N·M consecutive cycles, numbered j=1,2, . . . , N·m, of the undulating signal, that is preceded by the first plurality of cycles, determining from the clock signal the time t'j at which the jth cycle of the undulating signal is completed, and forming the sums ##EQU16## representing the sum of the number of signal cycles and the sum of the times at which the signal cycles were completed, respectively, for the second plurality of cycles; receiving a third plurality of N·m consecutive cycles, numbered K=1,2, . . . , N·m, of the undulating signal, that is preceded by the second plurality of cycles, determining from the clock signal the time t_(k) " at which the k^(th) cycle of the undulating signal is completed, and forming the sums ##EQU17## representing the sum of the number of signal cycles and the sum of the times at which the signal cycles were completed, respectively, for the third plurality of cycles; receiving a fourth plurality of N·m consecutive cycles, numbered n=1,2, . . . , N·m, of the undulating signal, that is preceded by the third plurality of cycles, determining from the clock signal the time t_(n) '" at which the nth cycle of the undulating signal is completed, and forming the sums ##EQU18## representing the sum of the number of signal cycles and the sum of the times at which the signal cycles were completed, respectively, for the fourth plurality of cycles; and forming a first difference ratio ##EQU19## and a second difference ratio ##EQU20## as two representative undulating signal frequencies for the combined first and third pluralities of signal cycles, and for the second and fourth pluralities of signal cycles, respectively.
 2. Apparatus for determining frequency of an undulating signal whose frequency may vary with time, the apparatus comprising:counter means, having a plurality of input terminals and two output terminals for receiving the undulating signal at a first input terminal, for receiving a clock signal that measures the passage of time at a second input terminal, for receiving four consecutive arming signals N₁, N₂, N₃, N₄ at a third input terminal, where N₁, N₂, N₃ and N₃ are positive integers, for determining the time t_(pi) (i=1,2, . . . , N; p=1,2,3,4) of completion of an ith consecutive cycle of the undulating signal received at the first input terminal, during a predetermined time interval T_(p) (p=1,2,3,4), where the time intervals T₁, T₂, T₃ and T₄ follow one in order and T₁ and T₃ do not overlap in time, and T₂ and T₄ do not overlap in time, where M_(pi) is the number of consecutive cycles completed within the time interval T_(p) (p=1,2,3,4) at time t_(pi), and for forming and issuing four output time signals ##EQU21## and four output event signals ##EQU22## measurement processing means, having two input terminals and an output terminal, for receiving the counter means output signals T₁, T₂, T₃ and T₄ at the first input terminal and the arming count signals N₁, N₂, N₃ and N₄ at the second input terminal, for forming the ratio of the differences

    f.sub.31 =(S.sub.3 -S.sub.1)/(τ.sub.3 -τ.sub.1)

    f.sub.42 =(S.sub.4 -S.sub.2)/(τ.sub.4 -τ.sub.2),

as two representative values of the frequency of the undulating signal. 